package cn.cdeden.aiqa.domain.vo;

import cn.cdeden.aiqa.domain.WikiPrompt;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import cn.cdeden.common.excel.annotation.ExcelDictFormat;
import cn.cdeden.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;


/**
 * 提示词管理视图对象 wiki_prompt
 *
 * @author Nick
 * @date 2025-01-15
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = WikiPrompt.class)
public class WikiPromptVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    @ExcelProperty(value = "")
    private Long id;

    /**
     * 标题
     */
    @ExcelProperty(value = "标题")
    private String title;

    /**
     * 描述
     */
    @ExcelProperty(value = "描述")
    private String desc;

    /**
     * 提示词
     */
    @ExcelProperty(value = "提示词")
    private String prompt;

    /**
     * 类型
     */
    @ExcelProperty(value = "类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "wiki_prompt_type")
    private String type;

    /**
     * 知识库应用ID
     */
    @ExcelProperty(value = "知识库应用ID")
    private Long appId;


}
